/**************************************************************************
 * Licensed Material - Property of ShangHai i2Finance.                    *
 * Copyright (c) ShangHai I2Finance Inc. 2009-2012-All rights reserved.   * 
 * (<http://www.i2finance.net>)                                           *
 *                                                                        *
 * This file contains proprietary intellectual property of                *
 * ShangHai i2Finance Inc. The contents of and information in this file   *
 * is only to be used in conjunction with a valid i2Shopping license      *
 * as specified in the  i2Shopping  license agreement. All other use      *
 * is prohibited.                                                         *
 **************************************************************************/
package com.TTBook.core.service;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.BeansException;
import org.springframework.context.ApplicationContext;
import org.springframework.context.ApplicationContextAware;


/**
 * @author Frank
 * Service的抽象父类。
 */
public class AbstractService implements Service,ApplicationContextAware {
	
	protected  final Logger logger = LoggerFactory.getLogger(getClass());
	
	protected ApplicationContext applicationContext;
	
	@Override
	public void setApplicationContext(ApplicationContext applicationContext) throws BeansException {
		this.applicationContext = applicationContext;
	}

}
